package com.simple.create.factory.sample4;

/**
 * 工厂方法模式(Factory Method)
 *
 * @author simple
 * @version 1.0
 * @date 2018/12/4 15:07
 * @since 1.0
 */
public class Start {

    /**
     * @param args Command line argument
     */
    public static void main(String[] args) {
        Provider provider = new SendMailFactory();
        Sender sender = provider.produce();
        sender.send();
    }

}
